list=[["a1","王保华",10000],
      ["a2","李伟新",5200],
      ["a3","张强",4700],
      ["a4","张明",3860],
      ["a5","陈鑫",1200],
      ["a6","李牧",8500]]
list.append(["a7","张三",7800])
for i in range(len(list)):
    print(list[i])
print("------------------------")
list1=sorted(list,key=lambda s:s[2],reverse=True)
for i in range(len(list1)):
    print(list1[i])
